﻿using SHRIS.MIS.Entity.ScadaData;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace SHRIS.MIS.Entity.ScadaBaseInfo
{
    [Table("tb_serverList")]
    public class ServerListEntity : BaseScadaEnetity
    {
        /// <summary>
        /// 服务器唯一ID
        /// </summary>
        [Key]
        [Column("ServerId")]
        public Guid Id { get; set; }

        /// <summary>
        /// 服务器名称
        /// </summary>
        [Required]
        public string ServerName { get; set; }

        /// <summary>
        /// 服务器IP地址
        /// </summary>
        [Required]
        public string ServerIp { get; set; }
    }
}
